﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using KDS.Mes.Mes.PlanModes.Dtos;

namespace KDS.Mes.Mes.PlanModes
{
    /// <summary>
    /// 计划模式信息服务接口
    /// </summary>
    public interface IPlanModeAppService : IApplicationService
    {
        #region 计划模式信息管理

        Task<ListResultDto<PlanModeListDto>> GetPlanModes(GetPlanModeInput input);
        PagedResultDto<PlanModeListDto> GetPagedPlanModes(GetPlanModeInput input);
        /// <summary>
        /// 根据查询条件获取计划模式信息分页列表
        /// </summary>
        Task<PagedResultDto<PlanModeListDto>> GetPagedPlanModesAsync(GetPlanModeInput input);

        /// <summary>
        /// 通过Id获取计划模式信息信息进行编辑或修改 
        /// </summary>
        Task<GetPlanModeForEditOutput> GetPlanModeForEditAsync(NullableIdDto<int> input);

        /// <summary>
        /// 通过指定id获取计划模式信息ListDto信息
        /// </summary>
        Task<PlanModeListDto> GetPlanModeByIdAsync(EntityDto<int> input);



        /// <summary>
        /// 新增或更改计划模式信息
        /// </summary>
        Task CreateOrUpdatePlanModeAsync(CreateOrUpdatePlanModeInput input);





        /// <summary>
        /// 新增计划模式信息
        /// </summary>
        Task<PlanModeEditDto> CreatePlanModeAsync(PlanModeEditDto input);

        /// <summary>
        /// 更新计划模式信息
        /// </summary>
        Task UpdatePlanModeAsync(PlanModeEditDto input);

        /// <summary>
        /// 删除计划模式信息
        /// </summary>
        Task DeletePlanModeAsync(EntityDto<int> input);

        /// <summary>
        /// 批量删除计划模式信息
        /// </summary>
        Task BatchDeletePlanModeAsync(List<int> input);

        #endregion




    }
}
